//
//  ComputerPartVisitor.m
//  访问者模式
//
//  Created by flannery on 2018/12/18.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import "ComputerPartVisitor.h"

@implementation ComputerPartVisitor

- (void)visitComputer:(Computer *)computer{
    NSLog(@"Displaying Computer.");
}

- (void)visitMouse:(Mouse *)mouse{
    NSLog(@"Displaying Mouse.");
}

- (void)visitKeyboard:(Keyboard *)keyboard{
    NSLog(@"Displaying Keyboard.");
}

- (void)visitMonitor:(Monitor *)monitor{
    NSLog(@"Displaying Monitor.");
}

@end
